﻿<!-- Begin of header -->
<header>
	<!-- Begin of the header toolbar -->
	<div id="header_toolbar">
		<div class="container_12">
			<h1 class="grid_8">Online Media Management and Tracking</h1> <!-- Site Title -->

			<!-- Start of right part -->
			<div class="grid_4">
				@if (Request.IsAuthenticated)
                {
                    @Html.Partial("Main/_Messages")
                    @Html.Partial("Main/_LogOnPartial")

                    }
                    else
                    {
                        <div id="Login">
                            <div class="container_12">
		                        <div id="button_bar">
			                        <ul>
				                        <li>
					                        <span><a href="@Url.Content("~/Account/LogOn")" style="color:White;">Login</a></span>
				                        </li>
                                        <li>
					                        <span><a href="@Url.Content("~/Account/Register")" style="color:White;">Register</a></span>
				                        </li>
			                        </ul>
		                        </div>
	                        </div>
                        </div>
                    }
			</div>
			<!-- End of right part -->
		</div>
	</div>
</header>
<!-- End of the header toolbar -->